= header_tag('格子详细')

.row
  .form-horizontal
    .form-group
      = label_tag :code, '编码', class: 'control-label col-md-2'
      %p.form-control-static
        = @grid.code
    .form-group
      = label_tag :name, '姓名', class: 'control-label col-md-2'
      %p.form-control-static
        = @grid.name
    .form-group
      = label_tag :memo, '备注', class: 'control-label col-md-2'
      %p.form-control-static
        = @grid.memo

= link_to '编辑', edit_cpanel_grid_path(@grid), class: "btn btn-outline btn-primary"
\|
= link_to '格子列表', cpanel_grids_path, class: "btn btn-outline btn-primary"
